package com.cxz.study.feign.fallback;

import com.cxz.study.common.Result;
import com.cxz.study.dto.CreateOrderReq;
import com.cxz.study.dto.CreateOrderResp;
import com.cxz.study.feign.api.OrderServiceFeign;

/**
 * @className: OrderServiceFallBack
 * @author: ocxz1
 * @date: 2025/6/15 下午3:05
 * @Version: 1.0
 * @description: ddd-struct3
 */
public class OrderServiceFallBack implements OrderServiceFeign {
    @Override
    public Result<CreateOrderResp> createOrder(CreateOrderReq req) {
        return Result.error("UnknownError", "未知错误");
    }
}
